package com.moss.system.service;


import com.moss.common.domain.LoginUser;
import com.moss.common.entity.SysUserEntity;

import java.util.List;

public interface UserService {


    /**
     * 通过用户名获取用户
     * @param username
     * @return
     */
    SysUserEntity selectUserByName(String username);

    /**
     *
     * @param loginUser
     * @return
     */
    SysUserEntity getUserInfo(String userId);

    List<SysUserEntity> selectList(SysUserEntity user);

    void changeStatus(SysUserEntity user);

    SysUserEntity selectUserById(String userId);

    void saveUser(SysUserEntity user);

    void updateUser(SysUserEntity user);

    void deleteUser(String[] userId);

    void resetPwd(SysUserEntity user);
}
